#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Actor.nanopb.h"
#ifndef MAX_ACTOR_ACTOR_NUM
#define MAX_ACTOR_ACTOR_NUM 30
#endif

class ActorDesc : public NFI_DESC_TEMPLATE_MACRO(ActorDesc, E_Actor, EOT_CONST_ACTOR_ACTOR_DESC_ID, MAX_ACTOR_ACTOR_NUM)
public:
	ActorDesc();
	virtual ~ActorDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
